/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package otcapp.controlador.jpanels;

/**
 *
 * @author diego
 */
public class NewJPanel extends javax.swing.JPanel {

    /**
     * Creates new form NewJPanel
     */
    public NewJPanel() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        lblTipoPieza = new javax.swing.JLabel();
        lblOficina = new javax.swing.JLabel();
        lblOficinaDestino = new javax.swing.JLabel();
        lblSede = new javax.swing.JLabel();
        lblIdentificacionç = new javax.swing.JLabel();
        lblExpediente = new javax.swing.JLabel();
        lblEmplazamiento = new javax.swing.JLabel();
        lblObservaciones = new javax.swing.JLabel();
        txtObservaciones = new javax.swing.JTextField();
        txtEmplazamientoDias = new javax.swing.JTextField();
        txtEmplazamientoHoras = new javax.swing.JTextField();
        txtExpediente = new javax.swing.JTextField();
        txtIdentificacionPieza = new javax.swing.JTextField();
        cbxSede = new javax.swing.JComboBox();
        cbxOficinaDestino = new javax.swing.JComboBox();
        cbxOficinaInicio = new javax.swing.JComboBox();
        cbxTipoPieza = new javax.swing.JComboBox();
        lblInterno = new javax.swing.JLabel();
        txtInterno = new javax.swing.JTextField();
        btnBuscarInterno = new javax.swing.JButton();
        lblFechaEntrada = new javax.swing.JLabel();
        jDateFechaEntrada = new com.toedter.calendar.JDateChooser();
        lblFechaHasta = new javax.swing.JLabel();
        jdateFechaHasta = new com.toedter.calendar.JDateChooser();
        JPanelAsunto = new javax.swing.JPanel();
        cabeceraJPanelSecundario2 = new otcapp.controlador.jpanels.CabeceraJPanelSecundario("Asuntos");
        jScrollPane1 = new javax.swing.JScrollPane();
        tblAsuntos = new javax.swing.JTable();

        lblTipoPieza.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblTipoPieza.setText("Tipo Pieza");

        lblOficina.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblOficina.setText("Inicio Pieza");

        lblOficinaDestino.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblOficinaDestino.setText("Destino Pieza");

        lblSede.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblSede.setText("Sede");

        lblIdentificacionç.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblIdentificacionç.setText("Identificación");

        lblExpediente.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblExpediente.setText("Expediente");

        lblEmplazamiento.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblEmplazamiento.setText("Emplazamiento");

        lblObservaciones.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblObservaciones.setText("Observaciones");

        txtEmplazamientoDias.setText("Días");

        txtEmplazamientoHoras.setText("Horas");

        cbxSede.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        cbxSede.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        cbxOficinaDestino.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        cbxOficinaDestino.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        cbxOficinaInicio.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        cbxOficinaInicio.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        cbxTipoPieza.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        cbxTipoPieza.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Item 1", "Item 2", "Item 3", "Item 4" }));

        lblInterno.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblInterno.setText("Interno/a");

        txtInterno.setEnabled(false);

        btnBuscarInterno.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N
        btnBuscarInterno.setIcon(new javax.swing.ImageIcon(getClass().getResource("/otcapp/utiles/imagenes/iconos/Search-20.png"))); // NOI18N
        btnBuscarInterno.setToolTipText("Buscar Interno");

        lblFechaEntrada.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblFechaEntrada.setText("Fecha Entrada");

        jDateFechaEntrada.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N

        lblFechaHasta.setFont(new java.awt.Font("Dialog", 0, 12)); // NOI18N
        lblFechaHasta.setText("Fecha Hasta");

        jdateFechaHasta.setFont(new java.awt.Font("Dialog", 0, 10)); // NOI18N

        JPanelAsunto.setBorder(javax.swing.BorderFactory.createEtchedBorder());

        tblAsuntos.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane1.setViewportView(tblAsuntos);

        javax.swing.GroupLayout JPanelAsuntoLayout = new javax.swing.GroupLayout(JPanelAsunto);
        JPanelAsunto.setLayout(JPanelAsuntoLayout);
        JPanelAsuntoLayout.setHorizontalGroup(
            JPanelAsuntoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(cabeceraJPanelSecundario2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(JPanelAsuntoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 278, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );
        JPanelAsuntoLayout.setVerticalGroup(
            JPanelAsuntoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(JPanelAsuntoLayout.createSequentialGroup()
                .addComponent(cabeceraJPanelSecundario2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 245, Short.MAX_VALUE)
                .addContainerGap())
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addComponent(lblOficinaDestino)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(cbxOficinaDestino, javax.swing.GroupLayout.PREFERRED_SIZE, 269, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addGap(16, 16, 16)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                .addComponent(lblTipoPieza)
                                .addComponent(lblOficina)
                                .addComponent(lblSede))
                            .addGap(20, 20, 20)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(cbxSede, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(cbxOficinaInicio, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(cbxTipoPieza, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 269, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(layout.createSequentialGroup()
                            .addComponent(lblIdentificacionç)
                            .addGap(21, 21, 21)
                            .addComponent(txtIdentificacionPieza, javax.swing.GroupLayout.PREFERRED_SIZE, 269, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(lblExpediente)
                            .addComponent(lblEmplazamiento)
                            .addComponent(lblObservaciones)
                            .addComponent(lblFechaEntrada)
                            .addComponent(lblFechaHasta)
                            .addComponent(lblInterno))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(txtEmplazamientoDias, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtEmplazamientoHoras, javax.swing.GroupLayout.PREFERRED_SIZE, 50, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(txtExpediente, javax.swing.GroupLayout.PREFERRED_SIZE, 270, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtObservaciones, javax.swing.GroupLayout.PREFERRED_SIZE, 265, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jDateFechaEntrada, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jdateFechaHasta, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(txtInterno)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(btnBuscarInterno, javax.swing.GroupLayout.PREFERRED_SIZE, 35, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 29, Short.MAX_VALUE)
                .addComponent(JPanelAsunto, javax.swing.GroupLayout.PREFERRED_SIZE, 304, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(31, 31, 31))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(JPanelAsunto, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(cbxTipoPieza, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblTipoPieza))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblOficina)
                            .addComponent(cbxOficinaInicio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblOficinaDestino)
                            .addComponent(cbxOficinaDestino, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(cbxSede, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblSede))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(lblIdentificacionç)
                            .addComponent(txtIdentificacionPieza, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(txtExpediente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblExpediente))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(txtEmplazamientoDias, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtEmplazamientoHoras, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblEmplazamiento))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(txtObservaciones, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblObservaciones))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jDateFechaEntrada, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(lblFechaEntrada))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(jdateFechaHasta, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(btnBuscarInterno)
                                        .addContainerGap(24, Short.MAX_VALUE))
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(7, 7, 7)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                            .addComponent(txtInterno, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addComponent(lblInterno))
                                        .addContainerGap())))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(lblFechaHasta)
                                .addContainerGap())))))
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel JPanelAsunto;
    private javax.swing.JButton btnBuscarInterno;
    private otcapp.controlador.jpanels.CabeceraJPanelSecundario cabeceraJPanelSecundario2;
    private javax.swing.JComboBox cbxOficinaDestino;
    private javax.swing.JComboBox cbxOficinaInicio;
    private javax.swing.JComboBox cbxSede;
    private javax.swing.JComboBox cbxTipoPieza;
    private com.toedter.calendar.JDateChooser jDateFechaEntrada;
    private javax.swing.JScrollPane jScrollPane1;
    private com.toedter.calendar.JDateChooser jdateFechaHasta;
    private javax.swing.JLabel lblEmplazamiento;
    private javax.swing.JLabel lblExpediente;
    private javax.swing.JLabel lblFechaEntrada;
    private javax.swing.JLabel lblFechaHasta;
    private javax.swing.JLabel lblIdentificacionç;
    private javax.swing.JLabel lblInterno;
    private javax.swing.JLabel lblObservaciones;
    private javax.swing.JLabel lblOficina;
    private javax.swing.JLabel lblOficinaDestino;
    private javax.swing.JLabel lblSede;
    private javax.swing.JLabel lblTipoPieza;
    private javax.swing.JTable tblAsuntos;
    private javax.swing.JTextField txtEmplazamientoDias;
    private javax.swing.JTextField txtEmplazamientoHoras;
    private javax.swing.JTextField txtExpediente;
    private javax.swing.JTextField txtIdentificacionPieza;
    private javax.swing.JTextField txtInterno;
    private javax.swing.JTextField txtObservaciones;
    // End of variables declaration//GEN-END:variables
}
